package jp.co.shinesoft.jpetstore.genericdao;

import java.util.List;

public interface GenericDao <T> {

    public Long insert(T object);
    
    public T findByKey(Long id);

    public List<T> findByExample(T example);

    public int updateByKey(T object);

    public int updateByExample(T example);

    public int removeByKey(Long id);

    public int removeByExample(T example);
}
